package org.akomantoso.core.io.util.group;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

import org.akomantoso.core.data.AuthorialNote;
import org.akomantoso.core.data.group.ANpopup;
import org.akomantoso.core.io.util.Instantiator;

/**
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 */
public final class ANpopupGroup {

	private ANpopupGroup() {
	}

	public static final Map<String, Instantiator<ANpopup>> MAP;

	static {
		Map<String, Instantiator<ANpopup>> temp = new HashMap<String, Instantiator<ANpopup>>();

		// authorialNote
		temp.put(AuthorialNote.ELEMENT, new Instantiator<ANpopup>() {
			public AuthorialNote instantiate() {
				return new AuthorialNote();
			}
		});

		MAP = Collections.unmodifiableMap(temp);
	}
	
}